import { HttpRequest } from '@/shared/http/commonAxios'

export class TagManageApi {
	/**
	 * 添加标签
	 */
	static addTag(data) {
		return HttpRequest.post('/tag-manage/add', data)
	}

	/**
	 * 获取标签列表
	 */
	static getList(data) {
		return HttpRequest.get('/tag-manage/query', data)
	}

	/**
	 * 删除标签
	 */
	static delete(data) {
		return HttpRequest.post('/tag-manage/delete', data)
	}

	/**
	 * 获取所有的标签
	 */
	static getAll() {
		return HttpRequest.get('/tag-manage/queryAll')
	}
}
